package com.telesound.dataimport;
/**
 * 数据导入返回结果的封装类
 * @author zhangchaofeng
 * @version 1.0
 * @date Sep 23, 2011
 */
public class ImportResult {
	private  int  success;             //成功数目
	private int failed;                //失败数目
	private String correntRow;         //当前处理行
	private boolean complete=false;

	public boolean isComplete() {
		return complete;
	}

	public void setComplete(boolean complete) {
		this.complete = complete;
	}

	public String getCorrentRow() {
		return correntRow;
	}

	public void setCorrentRow(String correntRow) {
		this.correntRow = correntRow;
	}

	public int getSuccess() {
		return success;
	}

	public void setSuccess(int success) {
		this.success = success;
	}

	public int getFailed() {
		return failed;
	}

	public void setFailed(int failed) {
		this.failed = failed;
	}

	@Override
	public String toString() {
		return "{success:"+success+",failed:"+failed+",correntRow:\""+correntRow+"\",complete:"+complete+"}";
	}
}
